
#ifndef _MEMBER_BSHADER_H_
#define _MEMBER_BSHADER_H_

#include <BOpenGL>
#include <BShader>

#define shader_member(shader)	((member_BShader*)((BShader*)shader)->_ptr)

namespace BWE
{
	class member_BShader
	{
	public:
		member_BShader(BShader* shader);
		~member_BShader();

		bool compile();

		BShader*		boss;
		bool			dirty;
		ShaderType		type;
		BString			text;
		GLuint			object;
		BString			log;
	};
}

#endif
